<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import store from '@/store'
export default {
  name: 'App',
  mounted() {
    window.onresize = () => {
      store.commit('common/SET_DOCUMENTCLIENTHEIGHT', document.documentElement['clientHeight'])
    }
  }
}
</script>
